<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="ceph" uri="http://jsp.cephb.fr" %>
<c:set var="page_title" scope="request" value="Users"/>
<% out.clear(); %><jsp:include page="xhtml-header.jsp"/>

<c:if test="${operon_user.root}">
<table>
<thead>
<tr><th>ID</th><th>Name</th><th/></tr>
</thead>
<tbody>
<c:forEach var="user" items="${users}">
	<tr>
	<td><c:out value="${user.id}" /></td>
	<td><c:out value="${user.login}" /></td>
	<td><a href="${pageContext.request.contextPath}/operon?act=user-id&amp;id=${user.id}">Edit</a>
	</td>
	</tr>
</c:forEach>
</tbody></table>

<p><a href="${pageContext.request.contextPath}/operon?act=user-new">New User</a></p>
</c:if>
	
<jsp:include page="xhtml-footer.jsp"/>
